package com.lzs.DAO;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import com.lzs.PO.Policy;

public interface PolicyDAO {

	public List<Policy> findPolicyList(@Param("keyword") String keyword);

	public List<Policy> findPolicyPagelist(@Param("keyword") String keyword, @Param("startIndex") int startIndex,
			@Param("pageSize") Integer pageSize);

	public void addPolicy(Map<String, Object> map);

	public Policy findPolicyByYear(@Param("year")String year);

	public void updatePolicy(Map<String, Object> map);

	public void deletePolicy(@Param("year")String year);

}
